]> dgit.raspbian.org Git - gnome-shell.git/commit
screenShield: defer deactivation until all messages are shown
authorRay Strode <rstrode@redhat.com>
Thu, 18 Jul 2013 12:58:58 +0000 (08:58 -0400)
committerRay Strode <rstrode@redhat.com>
Thu, 18 Jul 2013 13:24:01 +0000 (09:24 -0400)
commitded99b9a09ccba059073ba6ec82ed3e58c6d810f
tree49d14b86e007f54c51d54aba252ce63c1d10f8f2
parent55a04bbf2bd006d38047ca50ffdbdfe0f5b69f9b
screenShield: defer deactivation until all messages are shown

Right now when a user types their password to unlock their session
we end up getting an unlock signal from GDM right away.  We then
proceed to deactivate the screensaver before the user has a chance
to read his messages.

This commit makes sure we clear out the message queue before processing
the deactivation request.

https://bugzilla.gnome.org/show_bug.cgi?id=704347
js/ui/screenShield.js
js/ui/unlockDialog.js